package org.jeecg.modules.door.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 上传设置
 * @Author: jeecg-boot
 * @Date:   2024-10-25
 * @Version: V1.0
 */
@Data
@TableName("lwgy_door_uploadsetting")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_door_uploadsetting对象", description="上传设置")
public class LwgyDoorUploadsetting implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**校区*/
	@Excel(name = "校区", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
	@ApiModelProperty(value = "校区")
	private String campusId;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
	@ApiModelProperty(value = "楼宇")
	private String buildingId;
	/**单元*/
	@Excel(name = "单元", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
	@ApiModelProperty(value = "单元")
	private String unitId;
	/**楼层*/
	@Excel(name = "楼层", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
	@ApiModelProperty(value = "楼层")
	private String layerId;
	/**房间*/
	@Excel(name = "房间", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
	@ApiModelProperty(value = "房间")
	private String roomId;

	/**锁号*/
	@Excel(name = "锁号", width = 15)
    @ApiModelProperty(value = "锁号")
    private String doorNo;
	/**开锁*/
	@Excel(name = "开锁", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "开锁")
    private Integer ifUnlockDoor;
	/**反锁*/
	@Excel(name = "反锁", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "反锁")
    private Integer ifReverseLock;
	/**关闭不严*/
	@Excel(name = "关闭不严", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "关闭不严")
    private Integer ifNotClosed;
	/**常开*/
	@Excel(name = "常开", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "常开")
    private Integer ifAwaysOpen;
	/**撬锁*/
	@Excel(name = "撬锁", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "撬锁")
    private Integer ifPryTheLock;
	/**无效卡*/
	@Excel(name = "无效卡", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "无效卡")
    private Integer ifInvalidCard;
	/**电量低*/
	@Excel(name = "电量低", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "电量低")
    private Integer ifLowBattery;
	/**巡更*/
	@Excel(name = "巡更", width = 15, dicCode = "ifopen")
	@Dict(dicCode = "ifopen")
    @ApiModelProperty(value = "巡更")
    private Integer ifPatrol;
}
